package com.newupbank.schedule.mail.dao;

import com.newupbank.schedule.mail.vo.DifinedContentVO;
import com.newupbank.schedule.mail.vo.MailConfigVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: liminghui
 * @date: 2021/1/19 23:02
 * @version: 1.0
 * @description:
 */
@Mapper
public interface IMailDao {
    List<MailConfigVO> queryAllMailConfigVO();

    List<String> queryMailReceivers();

    List<DifinedContentVO> queryDifinedContent();

    int updateValidById(Integer id);

    int updateAllValidToOne();
}
